package com.xwltz.controller;

import com.xwltz.service.HomeService;
import org.springframework.stereotype.Controller;

@Controller
public class HomeController {

    private final HomeService homeService;

    public HomeController(HomeService homeService) {
        this.homeService = homeService;
    }

    public String doSomething(Double score) {
        String str = homeService.doService(score);
        return str;
    }
}
